package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.DiscountLevel;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IDiscountLevelService {

    void save(DiscountLevel entity);

    void update(DiscountLevel entity);

    void delete(Long id);

    List<DiscountLevel> list();

    DiscountLevel get(Long id);
    /**
     * 分页查询
     * @param qo 分页参数
     * @return
     */
    PageResult query(QueryObject qo);

    void saveMessage(String message);

}
